package cn.stu.projectsummit.likes.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class LikeVO {
    @ApiModelProperty(value = "点赞id")
    private Long id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "用户头像路径")
    private String imgUrl;
    @ApiModelProperty(value = "帖子标题")
    private String title;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "点赞时间")
    private Date createTime;
}
